package com.jy.api.vo.admin;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by lihu on 2017/12/12.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminProductVo {


    private String productId;

    private String productName;


    private int totalQuantity;

    private double totalAmount;

    /**
     * 优惠卷张数
     */
    private int couponCount = 0;

    /**
     * 优惠卷金额
     */
    private int couponAmount = 0;

    public AdminProductVo(String productId, String productName, int totalQuantity, double totalAmount) {
        this.productId = productId;
        this.productName = productName;
        this.totalQuantity = totalQuantity;
        this.totalAmount = totalAmount;
    }
}
